package com.ruoyi.job.domain;

import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 营销任务和客户关系对象 DATA_USER_TASK_RELATION
 * 
 * @author sxy
 * @date 2021-07-16
 */
public class DataUserTaskRelation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @Excel(name = "ID")
    private String id;

    /** 任务ID */
    @Excel(name = "任务ID")
    private String taskId;

    /** 客户ID */
    @Excel(name = "客户ID")
    private String idCard;

    /** 状态  0不正常  1正常 */
    @Excel(name = "状态  0不正常  1正常")
    private String status;

    /** 任务结束时间 */
    @Excel(name = "任务结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endDate;

    /** 任务开始时间 */
    @Excel(name = "任务开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date beginDate;

    /** 员工号 */
    @Excel(name = "员工号")
    private String userId;

    /** 机构 */
    @Excel(name = "机构")
    private String orgId;

    /** 营销状态  0未完成  1已完成 2退回 */
    @Excel(name = "营销状态  0未完成  1已完成 2退回")
    private String complete;

    /** 名称 */
    @Excel(name = "名称")
    private String cusName;

    /** 1 存量客户 2网格商户 3网格村居 4网格社区 5专业市场 */
    @Excel(name = "1 存量客户 2网格商户 3网格村居 4网格社区 5专业市场")
    private String type;

    /** 专业市场ID */
    @Excel(name = "专业市场ID")
    private String marketId;

    @Excel(name = "数据来源")
    private String remark;
    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setTaskId(String taskId) 
    {
        this.taskId = taskId;
    }

    public String getTaskId() 
    {
        return taskId;
    }
    public void setIdCard(String idCard) 
    {
        this.idCard = idCard;
    }

    public String getIdCard() 
    {
        return idCard;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
   
    public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public Date getBeginDate() {
		return beginDate;
	}

	public void setBeginDate(Date beginDate) {
		this.beginDate = beginDate;
	}

	public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setOrgId(String orgId) 
    {
        this.orgId = orgId;
    }

    public String getOrgId() 
    {
        return orgId;
    }
    public void setComplete(String complete) 
    {
        this.complete = complete;
    }

    public String getComplete() 
    {
        return complete;
    }
    public void setCusName(String cusName) 
    {
        this.cusName = cusName;
    }

    public String getCusName() 
    {
        return cusName;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setMarketId(String marketId) 
    {
        this.marketId = marketId;
    }

    public String getMarketId() 
    {
        return marketId;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("taskId", getTaskId())
            .append("idCard", getIdCard())
            .append("createTime", getCreateTime())
            .append("status", getStatus())
            .append("endDate", getEndDate())
            .append("beginDate", getBeginDate())
            .append("userId", getUserId())
            .append("orgId", getOrgId())
            .append("complete", getComplete())
            .append("cusName", getCusName())
            .append("type", getType())
            .append("marketId", getMarketId())
            .toString();
    }
}
